package Poker;

public class Card {
	private int color;
	private int figure;
	//Dzwonek, wino, �o��d�, czerwo
	private static String[] color_string = {"Karo", "Pik", "Trefl", "Kier"};
	private static String[] figure_string = {"dw�jka", "tr�jka", "czw�rka", "pi�tka", "sz�stka", "si�demka", "�semka", "dziewi�tka", "dziesi�tka" , "jopek", "dama", "kr�l", "as"};
	
	public Card(int color, int figure)
	{
		this.color = color;
		this.figure = figure;
	}
	
	public int GetColor()
	{
		return color; 
	}
	
	public int GetFigure()
	{
		return figure; 
	}

	public String toString()
	{
		return (figure_string[figure] + " " + color_string[color]);
	}
}